package com.example.demo.service.permissionservice;

import com.example.demo.entity.permission.TPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Set;


public interface ITPermissionService extends IService<TPermission> {

    /**
     * 根据用户名查询对应的权限信息
     * @param username
     * @return
     */
    Set<String> getPermissionsByUserName(String username);
}
